package com.youbug.mall.product_pms.service;

import com.youbug.common.vo.CommonSelectVo;
import com.youbug.common.vo.CommonTreeVo;
import com.youbug.mall.product_pms.entity.PmsSkuInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youbug.common.vo.QueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.youbug.mall.product_pms.vo.SkuItemVo;

import java.util.List;
import java.util.concurrent.ExecutionException;

/**
 * <p>
 * sku信息 服务类
 * </p>
 *
 * @author youbug
 * @since 2024-04-21
 */
public interface IPmsSkuInfoService extends IService<PmsSkuInfo> {

    IPage<PmsSkuInfo> getPmsSkuInfoPage(QueryVo<PmsSkuInfo> queryVo);

    SkuItemVo item(Long skuId) throws ExecutionException, InterruptedException;

    List<CommonSelectVo> getSkuListByKeyWord(String keyword);
}
